LearningDataModel.Location Property

Gets or sets location information which may be used as a bookmark within a RLO.

Parent Type: LearningDataModel

Namespace: Microsoft.LearningComponents.DataModel

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public string Location

{ get; set; }
Exceptions
Exception type Condition
InvalidOperationException

Thrown if this LearningDataModel object cannot be written to.

ArgumentOutOfRangeException

Thrown if the string passed is too long.

Remarks

In SCORM 2004, this corresponds to cmi.location.

In SCORM 1.2, this corresponds to cmi.core.lesson_location.

A string designed to be opaque to the application, for use only by the RLO. This may be used, for example, as a bookmark to return to a specific location after the RLO has been suspended and resumed.

For SCORM 2004 packages, this string is limited to a length defined by BaseSchemaInternal.ActivityAttemptItem.MaxLocationLength. For SCORM 1.2 packages, this string is limited to 255 characters.